package com.luyue.zagj.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.jude.easyrecyclerview.adapter.BaseViewHolder;
import com.jude.easyrecyclerview.adapter.RecyclerArrayAdapter;
import com.luyue.zagj.domin.News;

/**
 * Created by luyue on 2016/11/21.
 * // 用News 实体类做演示，实际使用时 根据 接口传回数据做改变
 *   显示结果位演示 而是用随机数据 实际使用时候 使用List传回数据
 */

public class ReportAdapter extends RecyclerArrayAdapter<News> {
    public ReportAdapter(Context context) {
        super(context);
    }

    @Override
    public BaseViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) {
        return new ReportViewHolder(parent);
    }
}
